export interface Menu {
  name: string,
  title?: string,
  page: string,
  complete?: boolean, //该组件是否已经开发完成
}

export interface MenuGroup {
  name: string,
  children: Menu[],
}

export const MENUS: MenuGroup[] = [
  {
    name: '组合函数', children: [
      {name: 'useSlots', page: '/use/useSlots/demo-use-slots', complete: true},
      {name: 'useScopedSlots', page: '/use/useScopedSlots/demo-use-scoped-slots', complete: true},
      {name: 'useModel', page: '/use/useModel/demo-use-model', complete: true},
      {name: 'useStyle', page: '/use/useStyle/demo-use-style', complete: true},
      {name: 'useRefs', page: '/use/useRefs/demo-use-refs', complete: true},
      {name: 'useEvent', page: '/use/useEvent/demo-use-event', complete: true},
      {name: 'useProps', page: '/use/useProps/demo-use-props', complete: true},
      {name: 'useCollect', page: '/use/useCollect/demo-use-collect', complete: true},
    ]
  },
  {
    name: '基础', children: [
      {name: 'Color', title: '颜色', page: '/color', complete: false},
      {name: 'Icon', title: '图标', page: '/icon', complete: false},
      {name: 'Button', title: '按钮', page: '/button', complete: false},
      {name: 'Grid', title: '栅格', page: '/grid', complete: false},
    ]
  },{
    name: '表单元素',
    children:[
      {name: 'Input',title:'输入框',page:'/form/input', complete: false}
    ]
  },
  {
    name: '视图', children: [
      {name: 'List', title: '列表', page: '/list', complete: true},
      {name: 'VirtualList', title: '虚拟列表', page: '/virtual-list', complete: true},
      {name: 'Progress', title: '进度条', page: '/progress', complete: true},
      {name: 'Tree', title: '树形组件', page: '/tree', complete: true},
      // {name: 'Virtual Tree', title: '虚拟树', page: '/virtual-tree', complete: false},
      {name: 'Pagination', title: '分页', page: '/pagination', complete: true},
      {name: 'Badge', title: '标记', page: '/badge', complete: true},
      {name: 'Step', title: '步骤条', page: '/step', complete: true},
      {name: 'Tab', title: '页签', page: '/tab', complete: false},
    ]
  },
]
